package org.red5.demos.service.impl;

import org.red5.common.base.CoreServiceImpl;
import org.red5.demos.dao.UserDao;
import org.red5.demos.domain.UserDO;
import org.red5.demos.service.UserService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <pre>
 * </pre>
 * 
 * <small> 2018年3月23日 | Aron</small>
 */
@Transactional
@Service("userService")
public class UserServiceImpl extends CoreServiceImpl<UserDao, UserDO> implements UserService{ 
	
	@Value("${pushKey}")
	private String pushKey;
	@Value("${pushSecret}")
	private String pushSecret;
	public String getPushKey() {
		return pushKey;
	}
	public void setPushKey(String pushKey) {
		this.pushKey = pushKey;
	}
	public String getPushSecret() {
		return pushSecret;
	}
	public void setPushSecret(String pushSecret) {
		this.pushSecret = pushSecret;
	}
	@Override
	public String getKey() {
		// TODO Auto-generated method stub
		return this.pushKey;
	}
	@Override
	public String getSecret() {
		// TODO Auto-generated method stub
		return this.pushSecret;
	} 
}
